﻿@{
    Layout = "../Shared/_MobileLayout.cshtml";
}
@section header
{
    <style>
        .myAccountActive {
            color: #ff6c1f;
        }
    </style>

}
@section title 
{
    个人中心
}
@section pagetitle
{
    个人中心

}

@using Kevin.Shop.Business.Service.Entity.Helper
@using RiderShop.Mobile.ServiceEntity.Purchase
@model RiderShop.Mobile.Modle.Purchase.CheckOutModel

<!--Begin Header-->
<div class="userCenter">
    <header data-role="header">
        <div class="top">
            <span class="img">
                <span class="img_wrap"><img id="headimgurl" src="~/Themes/Icon/Style/base/imgs/default-res-usercenter_head.jpg" /></span>
            </span>
            <label class="textcenter white">Kevin Liu</label>
            <label>
                <div>
                    <span class="text">消费金额</span>
                    <span class="text">0.00</span>
                </div>
                <div>
                    <span class="text">白金会员</span>
                </div>
                <div>
                    <span class="text">累计积分</span>
                    <span class="text">@Model.UserCurrentPoint</span>
                </div>
            </label>

        </div>
    </header>
</div>
<!--End Header-->
<div class="box">
    <div class="list-group">
        <a class="list-group-item" href="OrderList?orderStatus=1">
            待付款
            <span class="badge badge-success">3</span>
        </a>
        <a class="list-group-item" href="OrderList?orderStatus=6">
            待收货
            <span class="badge badge-danger ">2</span>
        </a>
        <a class="list-group-item" href="OrderList">
            全部订单
        </a>
    </div>

    <div class="list-group">
        <a class="list-group-item" href="MyFavorites">
            我的收藏
        </a>
        <a class="list-group-item" href="myVoucher.html">
            我的代金券
        </a>
        <a class="list-group-item" href="myCoupon.html">
            我的优惠券
        </a>
        <a class="list-group-item" href="MyPoint">
            我的积分
        </a>
    </div>

    <div class="list-group">
        <a class="list-group-item" href="ShippingAddress">
            我的收货地址
        </a>
        <a class="list-group-item" href="Profile">
            个人资料
        </a>
       <a class="list-group-item" href="Content/ContentInfo">
            帮助中心
        </a>
    </div>

</div>

<!-- InstanceEndEditable -->
<script type="text/javascript">
    $(function () {
        var img = '@ViewBag.HeadImgUrl';
        if (img == null || img == '') {
            $('#headimgurl').attr('src', "http://shop.8junma.com/RiderShop/Storage/CommResource/user-135x135.png");
        }
        else {
            $('#headimgurl').attr('src', img);
        }
    });
</script>